Members
Overall Objectives
Research Program
Application Domains
Software and Platforms
New Results
Bilateral Contracts and Grants with Industry
Partnerships and Cooperations
Dissemination
Bibliography
XML PDF e-pub
PDF e-Pub


Section: Software and Platforms

SPACES

Participants : Russel Nzekwa, Daniel Romero [correspondant] , Romain Rouvoy, Lionel Seinturier.

SPACES is a context mediation middleware that follows the REpresentational State Transfer (REST) principles  [100] . The current implementation of SPACES is based on the COSMOS context framework  [93] , [121] and the Comanche web server  [91] . Both COSMOS and Comanche are based on the Fractal component model and the Julia implementation  [91] .

The main features of the current SPACES implementation are presented below:

  1. Ubiquitous connectors: SPACES defines connectors that encapsulate the distribution concern. These connectors expose the COSMOS context nodes as REST resources with logical associated URLs, and enable interactions between consumers and producers via different communication protocols and the discovery of the available context sources. The current SPACES implementation supports interaction using the HTTP and twitter  [108] protocols. For discovery, the implementation uses the Service Location Protocol (SLP)  [102] .

  2. Context Representation: Following the REST principles, SPACES supports multiple representations of the context information: JSON  [94] , XML and Java serialization.

  3. Quality of context (QoC) information: The QoC properties are incorporated as service attributes in the SLP advertisements of the context information.

  4. Context selection: The restrictions in terms of QoC of the required context information are expressed as LDAP filters  [125] . SPACES benefits from the LDAP based queries of SLP to select the context providers.

We use XStream 1.3.13  [89] and JSON-lib 2.2.34  [88] to serialize context information as XML and JSON documents. For SLP and twitter we employ jSLP 1.0.0  [120] and twitter-4j 2.0.6  [129] .

SPACES is registered with the APP (Agence pour la Protection des Programmes) under reference IDDN 10-500002-000.